package com.ruoyi.coal.modules.coalpile.domain;

public class savePlie {
    private int pileId;

    private int del;

    public void setPileId(int pileId) {
        this.pileId = pileId;
    }

    public void setDel(int del) {
        this.del = del;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.savePlie))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.savePlie other = (com.ruoyi.coal.modules.coalpile.domain.savePlie)o;
        return !other.canEqual(this) ? false : ((getPileId() != other.getPileId()) ? false : (!(getDel() != other.getDel())));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.savePlie;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        result = result * 59 + getPileId();
        return result * 59 + getDel();
    }

    public String toString() {
        return "savePlie(pileId=" + getPileId() + ", del=" + getDel() + ")";
    }

    public savePlie(int pileId, int del) {
        this.pileId = pileId;
        this.del = del;
    }

    public savePlie() {}

    public int getPileId() {
        return this.pileId;
    }

    public int getDel() {
        return this.del;
    }
}
